<?php

namespace app\api\controller;

use app\common\model\Account;

class Index extends Base
{
    public function asset()
    {
        $user_id = $this->user()->id;

        $accounts = Account::userAccounts($user_id);

        return $this->renderJson($accounts);
    }


}
